package com.stone.dao;

import com.stone.dao.base.IBaseDao;
import com.stone.model.Project;
import com.stone.utils.Page;

/**
 * DAO 基类接口
 * @param <T> T POJO类型
 * @param <ID> ID类型
 */
public interface IProjectDao extends IBaseDao<Project, Long> {
	/**
	 * 
	 * @param pageNo
	 * @param pageSize
	 * @return
	 */
	public Page findAllProjects(int pageNo, int pageSize) ;
	/**
	 * 
	 * @param pageno
	 * @param pagesize
	 * @return
	 */
	public Page findProjectOrderByTitle(int pageno, int pagesize);
	/**
	 * 
	 * @param pageno
	 * @param pagesize
	 * @return
	 */
	public Page searchProjectOrderByTitle(String title,int pageno, int pagesize);
}
